﻿using TianYu.Core.Common.Captcha;

namespace Microsoft.Extensions.DependencyInjection
{
    public static class CaptchaServiceCollectionExtensions
    {
        public static IServiceCollection AddCaptcha(this IServiceCollection services)
        {
            services.AddScoped<ICaptchaService, CaptchaService>(); 
            return services;
        }
    }
}
